﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wuther.Entities.Models;
using Wuther.Util.Models;

namespace Wuther.Util.Profiles
{
    public class BlogCommentProfile: Profile
    {
        public BlogCommentProfile()
        {
            CreateMap<BlogComment, BlogCommentDto>();

            CreateMap<BlogCommentDto, BlogComment>();

            CreateMap<BlogComment, BlogCommentFullDto>();

            CreateMap<BlogCommentFullDto, BlogComment>();

            CreateMap<BlogCommentAddDto, BlogComment>();
        }
    }
}
